package com.insigma.business.qrcode.merchant.controller;

import com.alibaba.fastjson.JSONObject;
import com.insigma.business.qrcode.common.template.BasePagingResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 商家订单管理
 */
@Api("商家订单管理")
@RestController
@RequestMapping("/merchantOrder")
public class MerchantOrderController {
    @ApiOperation("消费列表")
    @PostMapping("/getOrderList")
    public BasePagingResponse<List<JSONObject>> getOrderList(@RequestBody JSONObject req){
        return null;
    }

    @ApiOperation("消费明细")
    @PostMapping("/getOrderDetail")
    public BasePagingResponse<List<JSONObject>> getOrderDetail(@RequestBody JSONObject req){
        return null;
    }
}
